package com.softeem.example;

public class TestFactory {

	public static void main(String[] args) {
		
		Object obj1 = SchoolFactory.getInstance(SchoolFactory.TEACHER);
		Object obj2 = SchoolFactory.getInstance(SchoolFactory.TEACHER);
		Object obj3 = SchoolFactory.getInstance(SchoolFactory.TEACHER);
		
		System.out.println(obj1);
		System.out.println(obj2);
		System.out.println(obj3);
	}
}
